package net.maku.kyy.service;

import net.maku.framework.common.utils.PageResult;
import net.maku.framework.mybatis.service.BaseService;
import net.maku.kyy.vo.KyyGameVO;
import net.maku.kyy.query.KyyGameQuery;
import net.maku.kyy.entity.KyyGameEntity;
import java.util.List;
import java.util.Map;

/**
 * 快应用
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
public interface KyyGameService extends BaseService<KyyGameEntity> {

    PageResult<KyyGameVO> page(KyyGameQuery query);

    KyyGameVO get(Long id);

    KyyGameVO getByAppid(String appid);

    List<Map<String, Object>> getCategory2Name();

    List<Map<String, Object>> getCategory3Name(KyyGameQuery query);

    List<KyyGameEntity> getAll();

    void save(KyyGameVO vo);

    void update(KyyGameVO vo);

    void delete(List<Long> idList);


    void export();
}